package top.buyibuyi.course.dao.login;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import top.buyibuyi.course.pojo.Admin;

@Mapper
public interface LoginDao {

    @Select("select * from admin where username = #{username} and password = #{password}")
    Admin loginAdmin(Admin admin);
}
